<?php 
namespace Admin\Controller;

//分类 控制器
class CategorysController extends AdminController{

	//结果列表
	public function index(){
		
		//实例化
		$category = D('Category');
		//获取分类信息
		$list = $category->getAdminCate();
		$this->assign('list',$list);
		$this->display();

		//分类查询的另一种方式
		//$list = $category->getTree(0);
	
	}


}